package com.ruoyi.order.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户快递地址对象 userDelivery
 *
 * @author ruoyi
 * @date 2022-02-04
 */
public class UserDelivery extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 地址ID
     */
    private Integer addressID;
    /**
     * 用户id
     */
    @Excel(name = "用户id")
    private Integer userID;
    /**
     * 快递人姓名
     */
    @Excel(name = "快递人姓名")
    private String deliveryUserName;

    /**
     * 接收人姓名
     */
    @Excel(name = "接收人姓名")
    private String receiptUserName;

    /**
     * 手机号
     */
    @Excel(name = "手机号")
    private String mobile;

    /**
     * 省
     */
    @Excel(name = "省")
    private String province;

    /**
     * 城
     */
    @Excel(name = "城")
    private String city;

    /**
     * 区
     */
    @Excel(name = "区")
    private String region;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer state;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Integer createUser;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private Integer updateUser;

    public void setAddressID(Integer addressID) {
        this.addressID = addressID;
    }

    public Integer getAddressID() {
        return addressID;
    }

    public void setDeliveryUserName(String deliveryUserName) {
        this.deliveryUserName = deliveryUserName;
    }

    public String getDeliveryUserName() {
        return deliveryUserName;
    }

    public void setReceiptUserName(String receiptUserName) {
        this.receiptUserName = receiptUserName;
    }

    public String getReceiptUserName() {
        return receiptUserName;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobile() {
        return mobile;
    }

    public void setprovince(String province) {
        this.province = province;
    }

    public String getprovince() {
        return province;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCity() {
        return city;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getRegion() {
        return region;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getState() {
        return state;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getUpdateUser() {
        return updateUser;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("addressID", getAddressID())
                .append("deliveryUserName", getDeliveryUserName())
                .append("receiptUserName", getReceiptUserName())
                .append("mobile", getMobile())
                .append("province", getprovince())
                .append("city", getCity())
                .append("region", getRegion())
                .append("remark", getRemark())
                .append("state", getState())
                .append("createUser", getCreateUser())
                .append("createTime", getCreateTime())
                .append("updateUser", getUpdateUser())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
